package com.sojson.base.impl;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 基础逻辑删除Bean
 * 
 * @author liu
 * @date 2020-11-02
 */
@Data
@ApiModel("基础逻辑删除实体类")
public class BaseLogicDelBean extends BaseBean {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    /** 删除标志(1:未删除,2:已删除) */
    @TableLogic
    @TableField(value = "DEL_FLAG", fill = FieldFill.INSERT)
    @ApiModelProperty(value = "删除标志(1:未删除,2:已删除)", position = 1005)
    private Integer delFlag;

}